class AddressModel {
  String id;
  String acceptName;
  String phone;
  String city;
  String address;
  int check;
  String cityName;
  AddressModel(
      {this.id,
      this.acceptName,
      this.phone,
      this.city,
      this.address,
      this.check,
      this.cityName});

  AddressModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    acceptName = json['acceptName'];
    phone = json['phone'];
    city = json['city'];
    address = json['address'];
    check = json['check'];
    cityName = json['cityName'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['acceptName'] = this.acceptName;
    data['phone'] = this.phone;
    data['city'] = this.city;
    data['address'] = this.address;
    data['check'] = this.check;
    return data;
  }
}
